package com.msh.platform.elm.dao;

import com.msh.platform.elm.entity.OperLog;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;

public interface OperLogRepository extends JpaRepository<OperLog,Integer> {
	List<OperLog> findByOperObj(int objId);
	List<OperLog> findByOperObjOrderByCreateTimeDesc(int objId);
	OperLog findFirstByOperObjOrderByCreateTimeDesc(int objId);
}
